\hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay}{}\section{com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay类 参考}
\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay}\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}


类 com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay 继承关系图\+:
% FIG 0


com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay 的协作图\+:
% FIG 1
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a796be25922b0cc1290b2e03c329b8d61}{Driving\+Route\+Overlay}} (Baidu\+Map baidu\+Map)
\item 
final List$<$ Overlay\+Options $>$ \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a6adeba45057db8c1a17e6b6b236b885c}{get\+Overlay\+Options}} ()
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a4b787d4b3f41f3c1d07068ad9ea855bc}{set\+Data}} (Driving\+Route\+Line route\+Line)
\item 
Bitmap\+Descriptor \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_aa59faddd6f57e162cfa15799dd627d33}{get\+Start\+Marker}} ()
\item 
int \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ad3eb34e17af37c0dd6a2af11ec749e61}{get\+Line\+Color}} ()
\item 
List$<$ Bitmap\+Descriptor $>$ \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ac0e8b1e242008c4db15ed8dfe214dacc}{get\+Custom\+Texture\+List}} ()
\item 
Bitmap\+Descriptor \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ab3f7152173b47f80f29fbff913dabd08}{get\+Terminal\+Marker}} ()
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_af9e5e7a23f569c8d0dc3b3977c247338}{on\+Route\+Node\+Click}} (int i)
\item 
final boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a523bdf42206eb9ee83f8cbe34fc0bd14}{on\+Marker\+Click}} (Marker marker)
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a4dc929e1a0d57abab0aa13e604e3c5a7}{on\+Polyline\+Click}} (Polyline polyline)
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ae1ea40bc4fd568ea5f3b2eea634892e9}{set\+Focus}} (boolean flag)
\end{DoxyCompactItemize}
\subsection*{包属性}
\begin{DoxyCompactItemize}
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a1c195a8295f6da1f7ab5c5582769ba2d}{focus}} = false
\end{DoxyCompactItemize}
\subsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
Driving\+Route\+Line \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a0e5b39d1d1f6d7cbafcc794f18391bf6}{m\+Route\+Line}} = null
\end{DoxyCompactItemize}


\subsection{详细描述}
用于显示一条驾车路线的overlay，自3.4.\+0版本起可实例化多个添加在地图中显示，当数据中包含路况数据时，则默认使用路况纹理分段绘制 

\subsection{构造及析构函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a796be25922b0cc1290b2e03c329b8d61}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a796be25922b0cc1290b2e03c329b8d61}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!DrivingRouteOverlay@{DrivingRouteOverlay}}
\index{DrivingRouteOverlay@{DrivingRouteOverlay}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{DrivingRouteOverlay()}{DrivingRouteOverlay()}}
{\footnotesize\ttfamily com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+Driving\+Route\+Overlay (\begin{DoxyParamCaption}\item[{Baidu\+Map}]{baidu\+Map }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

构造函数


\begin{DoxyParams}{参数}
{\em baidu\+Map} & 该\+Driving\+Route\+Ovelray引用的 Baidu\+Map \\
\hline
\end{DoxyParams}


\subsection{成员函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ac0e8b1e242008c4db15ed8dfe214dacc}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ac0e8b1e242008c4db15ed8dfe214dacc}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!getCustomTextureList@{getCustomTextureList}}
\index{getCustomTextureList@{getCustomTextureList}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{getCustomTextureList()}{getCustomTextureList()}}
{\footnotesize\ttfamily List$<$Bitmap\+Descriptor$>$ com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+get\+Custom\+Texture\+List (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ad3eb34e17af37c0dd6a2af11ec749e61}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ad3eb34e17af37c0dd6a2af11ec749e61}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!getLineColor@{getLineColor}}
\index{getLineColor@{getLineColor}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{getLineColor()}{getLineColor()}}
{\footnotesize\ttfamily int com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+get\+Line\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

覆写此方法以改变默认绘制颜色 \begin{DoxyReturn}{返回}
线颜色 
\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a6adeba45057db8c1a17e6b6b236b885c}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a6adeba45057db8c1a17e6b6b236b885c}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!getOverlayOptions@{getOverlayOptions}}
\index{getOverlayOptions@{getOverlayOptions}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{getOverlayOptions()}{getOverlayOptions()}}
{\footnotesize\ttfamily final List$<$Overlay\+Options$>$ com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+get\+Overlay\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_aa59faddd6f57e162cfa15799dd627d33}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_aa59faddd6f57e162cfa15799dd627d33}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!getStartMarker@{getStartMarker}}
\index{getStartMarker@{getStartMarker}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{getStartMarker()}{getStartMarker()}}
{\footnotesize\ttfamily Bitmap\+Descriptor com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+get\+Start\+Marker (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

覆写此方法以改变默认起点图标

\begin{DoxyReturn}{返回}
起点图标 
\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ab3f7152173b47f80f29fbff913dabd08}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ab3f7152173b47f80f29fbff913dabd08}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!getTerminalMarker@{getTerminalMarker}}
\index{getTerminalMarker@{getTerminalMarker}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{getTerminalMarker()}{getTerminalMarker()}}
{\footnotesize\ttfamily Bitmap\+Descriptor com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+get\+Terminal\+Marker (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

覆写此方法以改变默认终点图标

\begin{DoxyReturn}{返回}
终点图标 
\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a523bdf42206eb9ee83f8cbe34fc0bd14}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a523bdf42206eb9ee83f8cbe34fc0bd14}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!onMarkerClick@{onMarkerClick}}
\index{onMarkerClick@{onMarkerClick}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{onMarkerClick()}{onMarkerClick()}}
{\footnotesize\ttfamily final boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+on\+Marker\+Click (\begin{DoxyParamCaption}\item[{Marker}]{marker }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a4dc929e1a0d57abab0aa13e604e3c5a7}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a4dc929e1a0d57abab0aa13e604e3c5a7}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!onPolylineClick@{onPolylineClick}}
\index{onPolylineClick@{onPolylineClick}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{onPolylineClick()}{onPolylineClick()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+on\+Polyline\+Click (\begin{DoxyParamCaption}\item[{Polyline}]{polyline }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_af9e5e7a23f569c8d0dc3b3977c247338}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_af9e5e7a23f569c8d0dc3b3977c247338}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!onRouteNodeClick@{onRouteNodeClick}}
\index{onRouteNodeClick@{onRouteNodeClick}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{onRouteNodeClick()}{onRouteNodeClick()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+on\+Route\+Node\+Click (\begin{DoxyParamCaption}\item[{int}]{i }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

覆写此方法以改变默认点击处理


\begin{DoxyParams}{参数}
{\em i} & 线路节点的 index \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否处理了该点击事件 
\end{DoxyReturn}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a4b787d4b3f41f3c1d07068ad9ea855bc}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a4b787d4b3f41f3c1d07068ad9ea855bc}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!setData@{setData}}
\index{setData@{setData}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{setData()}{setData()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+set\+Data (\begin{DoxyParamCaption}\item[{Driving\+Route\+Line}]{route\+Line }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

设置路线数据


\begin{DoxyParams}{参数}
{\em route\+Line} & 路线数据 \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ae1ea40bc4fd568ea5f3b2eea634892e9}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_ae1ea40bc4fd568ea5f3b2eea634892e9}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!setFocus@{setFocus}}
\index{setFocus@{setFocus}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{setFocus()}{setFocus()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+set\+Focus (\begin{DoxyParamCaption}\item[{boolean}]{flag }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\subsection{类成员变量说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a1c195a8295f6da1f7ab5c5582769ba2d}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a1c195a8295f6da1f7ab5c5582769ba2d}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!focus@{focus}}
\index{focus@{focus}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{focus}{focus}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+focus = false\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a0e5b39d1d1f6d7cbafcc794f18391bf6}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1utils_1_1_driving_route_overlay_a0e5b39d1d1f6d7cbafcc794f18391bf6}} 
\index{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}!mRouteLine@{mRouteLine}}
\index{mRouteLine@{mRouteLine}!com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay@{com.example.akisame\_lin.love\_air2.utils.DrivingRouteOverlay}}
\subsubsection{\texorpdfstring{mRouteLine}{mRouteLine}}
{\footnotesize\ttfamily Driving\+Route\+Line com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+utils.\+Driving\+Route\+Overlay.\+m\+Route\+Line = null\hspace{0.3cm}{\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
app/src/main/java/com/example/akisame\+\_\+lin/love\+\_\+air2/utils/\mbox{\hyperlink{_driving_route_overlay_8java}{Driving\+Route\+Overlay.\+java}}\end{DoxyCompactItemize}
